<?php
namespace Model;
use Fuel\Core\Model_Crud;

//Modelo Reservas-->    
    class Reservas extends Model_Crud{
        
        protected static $_table_name = "reservas";
        protected static $_primay_key = "reservaId";
        
        protected static $_rules = array(
            
            'nombre' => 'required',
            'correo' => 'required',
            'telefono' => 'required',
            'Usuarios_usuarioId' => 'required',
            'hotel' => 'required',
            'fechaIngreso' => 'required',
            'fechaSalida' => 'required',
            'tipohabitacion' => 'required',
            
        );
    }
?>
